{_include admin_menu}

<div class="content_block col-xs-12 col-sm-12 col-md-12 col-lg-12">
	<form action="<?php echo base_url('admin/tag/add'); ?>" method="post" class="form-horizontal">
			<legend>จัดการแท็ก</legend>
			<input type="hidden" name="id" value="<?php if(!empty($tag[0]['id'])) echo $tag[0]['id'];  ?>" />

			<div class="control-group">
	      <label class="control-label" for="name">ชื่อแท็ก</label>
	      <div class="controls">
					<input type="text" name="name" value="<?php if(!empty($tag[0]['name'])) echo $tag[0]['name'];  ?>" />
	      </div>
	    </div>

		<div class="control-group">
	      <div class="controls">
					<input type="submit" name="submit" value="submit"  class="btn btn-primary" /> &nbsp;
					<input type="reset" name="cancel" value="cancel"  class="btn" />
	      </div>
	    </div>
	</form>
</div>